package com.ruibang.glass.produce.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.ruibang.glass.produce.domain.req.CommonTrendChartReq;
import com.ruibang.glass.produce.domain.req.DefectAnalysisReq;
import com.ruibang.glass.produce.domain.resp.DefectDepthBarChartResp;
import com.ruibang.glass.produce.domain.resp.DefectDepthCurveRateData;
import com.ruibang.glass.produce.domain.resp.DefectDepthPieRateData;
import com.ruibang.glass.produce.domain.resp.DissolutionDefectData;
import com.ruibang.glass.produce.entity.DefectDepthAnalysis;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 缺陷深度数据分析 服务类
 * </p>
 *
 * @author songJinKang
 * @since 2024-04-27
 */
public interface DefectDepthAnalysisService extends IService<DefectDepthAnalysis> {

    IPage<DefectDepthAnalysis> pageQuery(DefectAnalysisReq defectAnalysisReq);

    DefectDepthPieRateData pieRateChart(CommonTrendChartReq commonTrendChartReq);

    DefectDepthCurveRateData curveRateChart(CommonTrendChartReq commonTrendChartReq);

    List<DissolutionDefectData> defectChart(DefectAnalysisReq defectAnalysisReq);

    DefectDepthBarChartResp barChart(DefectAnalysisReq defectAnalysisReq);
}
